import type { Metadata } from "next";
import './style/globals.css';
import { Toaster } from 'sonner';
import AppLayout from '@/components/AppLayout';

export const metadata: Metadata = {
  title: "我的博客系统",
  description: "一个功能完善的博客平台",
};

// 移除next/font/google字体导入

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="zh-CN">
      <body className="font-sans">
        <Toaster position="top-center" duration={3000} richColors closeButton/>
        <AppLayout>
          {children}
        </AppLayout>
      </body>
    </html>
  );
}
